package com.youdianda.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.youdianda.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 获取用户资料-用户资料-userInfo
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProfileUserInfo extends SysUser implements Serializable {
    @JsonProperty("role_name")
    private String roleName ;//角色名称
}
